<template>
  <div>
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
      <el-breadcrumb-item>设置</el-breadcrumb-item>
      <el-breadcrumb-item>企业/组织</el-breadcrumb-item>
    </el-breadcrumb>
    <div class="add_account">


      <el-form :label-position="labelPosition" label-width="80px" :model="formLabelAlign" style="overflow:auto">
        <el-form-item class="add_account_itme" label="名称">
          <el-input class="mdkc-imput" v-model="formLabelAlign.name"></el-input>
        </el-form-item>
        <el-form-item label="名称">
          <el-input v-model="formLabelAlign.region"></el-input>
        </el-form-item>
        <el-form-item label="账号">
          <el-input v-model="formLabelAlign.type"></el-input>
        </el-form-item>
        <el-form-item label="密码">
          <el-input v-model="formLabelAlign.type"></el-input>
        </el-form-item>
        <el-form-item label="issID">
          <el-input v-model="formLabelAlign.type"></el-input>
        </el-form-item>
        <el-form-item label="秘钥">
          <el-input v-model="formLabelAlign.type"></el-input>
        </el-form-item>
        <el-form-item label="私钥">
          <el-input v-model="formLabelAlign.type"></el-input>
        </el-form-item>
        <el-form-item>
          <el-button type="warning">解散</el-button>
          <el-button type="primary" @click="submitForm">保存</el-button>

        </el-form-item>
        <el-form-item>
          <el-button class="btn_code" type="primary" @click="submitForm">生成邀请码</el-button>

        </el-form-item>

      </el-form>


    </div>
  </div>
</template>

<script>
  export default {
    name: "EnterpriseOrganization",
    data() {
      return {
        labelPosition: 'right',
        formLabelAlign: {
          name: '',
          region: '',
          type: ''
        }
      };
    },
    methods: {
      submitForm() {
        this.$router.push("/")
        // alert(1111)
      },
      goBack() {
        this.$router.push("/associated")
      }
    }
  }
</script>

<style scoped>
  .add_account {
    height: 460px;
    width: 300px;
    margin: 40px auto;
  }

  .ch {
    margin-top: 20px;
  }

  .add_account_itme {

    /*box-sizing: border-box;*/
    margin-top: 20px;
    margin-right: 20px;
    line-height: 30px;
  }

  .el-input {
    height: 30px;
  }

  .el-form-item {

    margin-right: 20px;
  }

  .el-button {
    margin-right: 20px;
    float: right;
    /*margin-right: 100px;*/
  }

  .btn_code {
    padding: 10px 43px;
  }
</style>

